package cn.wolfcode.wms.service;

import cn.wolfcode.wms.domain.Employee;
import cn.wolfcode.wms.page.PageResult;
import cn.wolfcode.wms.query.EmployeeQueryObject;

import java.util.List;

public interface IEmployeeService {
    List<Employee> listAll();

    PageResult query(EmployeeQueryObject qo);

    Employee getById(Long id);

    void update(Employee emp, Long[] roleIds);

    void save(Employee emp, Long[] roleIds);

    void delete(Long id);

    void login(String username, String password);

    void batchDelete(Long[] ids);
}
